StellarPay\AdminDashboard\RestApi\SubscriptionsListPage A

Total Complexity 59
Dependencies 25
Dependents 1
Total lines 577
Lines of code 391
Logical lines of code 163
Comment lines 73
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
cancelSubscription()
A
38 14 71
prepareSubscriptionData()
A
42 7 51
updateExistingPaymentMethod()
S
47 6 38
getRecurringPeriod()
S
54 6 22
getRoutes()
S
40 1 86
addNewPaymentMethod()
S
48 4 34
getSingleSubscription()
S
60 4 13
validateAndGetSubscription()
S
62 4 11
getPaymentMethods()
S
54 3 21
getSubscriptionListPage()
S
56 3 19
permissionCheck()
S
78 2 3
prepareSubscriptionDataById()
S
69 2 7
__construct()
S
73 1 5
processRequest()
S
68 1 7
getPerPageLimit()
S
79 1 3